<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>{{ plugin.name }} - 插件详情</title>
  <style>
    body {
      font-family: {{ menu.fontFamily }};
      background-color: {{ menu.backgroundColor }};
      color: {{ menu.textColor }};
      margin: 0;
      padding: 20px;
    }
    .container {
      max-width: 600px;
      margin: 0 auto;
      background-color: white;
      border-radius: 10px;
      padding: 25px;
      box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    }
    .header {
      text-align: center;
      margin-bottom: 20px;
      padding-bottom: 15px;
      border-bottom: 2px solid {{ menu.accentColor }};
    }
    h1 {
      color: {{ menu.accentColor }};
      margin: 0;
      font-size: 24px;
    }
    .category-badge {
      display: inline-block;
      background-color: {{ menu.accentColor }};
      color: white;
      padding: 3px 10px;
      border-radius: 15px;
      font-size: 12px;
      margin-top: 8px;
    }
    .info-section {
      margin-bottom: 20px;
    }
    .info-title {
      font-weight: bold;
      color: {{ menu.accentColor }};
      margin-bottom: 5px;
      font-size: 16px;
    }
    .info-content {
      padding-left: 10px;
      line-height: 1.6;
    }
    .command-list {
      list-style-type: none;
      padding: 0;
    }
    .command-item {
      background-color: {{ menu.backgroundColor }};
      padding: 8px 12px;
      border-radius: 5px;
      margin-bottom: 8px;
      border-left: 3px solid {{ menu.accentColor }};
    }
    .plugin-icon {
      width: {{ menu.iconSize }}px;
      height: {{ menu.iconSize }}px;
      margin: 0 auto 15px;
      display: block;
    }
  </style>
</head>
<body>
  <div class="container">
    <div class="header">
      {{if menu.showIcon}}
      <img class="plugin-icon" src="" alt="插件图标">
      {{/if}}
      <h1>{{ plugin.name }}</h1>
      <span class="category-badge">{{ plugin.category }}</span>
    </div>
    
    <div class="info-section">
      <div class="info-title">插件描述</div>
      <div class="info-content">{{ plugin.dsc }}</div>
    </div>
    
    <div class="info-section">
      <div class="info-title">可用命令</div>
      <ul class="command-list">
        {{each plugin.cmds}}
        <li class="command-item">{{ $value }}</li>
        {{/each}}
      </ul>
    </div>
  </div>
</body>
</html>